<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>分类管理</title>
    <link type="text/css" rel="stylesheet" href="http://localhost/program/Static/hdjs/hdui.css"/>
    <script type="text/javascript" src="http://localhost/program/Static/jquery/jquery-1.7.2.min.js"></script>
    <script type="text/javascript" src="http://localhost/program/Application/Admin/View/User/js/js.js"></script>
    <link type="text/css" rel="stylesheet" href="http://localhost/program/Static/bootstrap/css/bootstrap.min.css"/>
    <style type="text/css">
        .plus_minus{
            width: 20px;
        }
    </style>

</head>
<body>
<div class="wrap">
    <table class="table2">
        <thead>
   			<tr>
				<td width="50">管理员id</td>
				<td>账户</td>
                <td>用户名</td>
				<td>登陆时间
                </td>
                <td>登陆ip
                </td>
				<td width="120">操作</td>
			</tr>
        </thead

    
        <?php foreach ($data as $k=>$v){?>
        <tbody>
            <tr>
                <td width="50"><?php echo $v['uid'];?></td>
                
                <td><?php echo $v['account'];?></td>
                <td><?php echo $v['username'];?></td>
                <td><?php echo $v['login_time'];?></td>
                <td><?php echo $v['login_ip'];?></td>
                
                <td width="120">
                     <a href="<?php echo U('User/edit',array('uid'=>$v['uid']));?>" class="btn btn-info btn-xs">修改</a>
                    <a href="javascript:;" onclick='if(confirm("确认删除么？")) location.href="<?php echo U('User/del',array('uid'=>$v['uid']));?>"'class="btn btn-danger btn-xs">删除</a>
                </td>
            </tr>
        </tbody>
        <?php }?>
    </table>
    <div class="page_hdjob">
        
    </div>
</div>

</body>
</html>